<template>
  <div>
    <h2>我是Friend组件</h2>

    <h2>
      我传过来的query === {{ $route.query.username }} ===
      {{ $route.query.password }}
    </h2>
    <h2>
      我传过来的params === {{ $route.params.username }} ===
      {{ $route.params.password }}
    </h2>
  </div>
</template>

<script>
export default {
  name: 'Friend',
}
</script>

<style scoped></style>
